<template>
  <div class="main">
    <div>
      <Search></Search>
    </div>
    <div>
      <LunBo></LunBo>
    </div>
    <div class="xinping">
      <NewGood></NewGood>
    </div>
    <div class="miaosha"></div>
    <div class="baokuang">
      <HotGood></HotGood>
    </div>
    <div>
      <SecKillGood></SecKillGood>
    </div>
  </div>
</template>

<script>
import LunBo from "../components/LunBo";
import NewGood from "../components/NewGood";
import HotGood from "../components/HotGood";
import SecKillGood from "../components/SecKillGood";
import Search from "../components/Search";
export default {
  name: "Main",
  components: {
    LunBo,
    NewGood,
    HotGood,
    SecKillGood,
    Search,
  },

  data() {
    return {
      isAliLoginNoInfo: false,
    };
  },

  created() {
    if (this.$route.params.isAliLoginNoInfo) {
      this.isAliLoginNoInfo = this.$route.params.isAliLoginNoInfo;
    }
  },
};
</script>

<style>
.main {
  margin: 0 auto;
  width: 100%;
}

.xinping {
  margin-bottom: 20px;
}

.baokuang {
  margin-bottom: 20px;
}
</style>